package com.cn.system.entity;

import com.cn.system.crawler.annotation.PageFieldSelect;
import com.cn.system.crawler.annotation.PageSelect;

@PageSelect(cssQuery=".course-card")
public class CourseCard {

  @PageFieldSelect(cssQuery=".course-title")
  private String title;


  @Override
  public String toString() {
    return "CourseCard{" +
        "title='" + title + '\'' +
        ", courseTime='" + courseTime + '\'' +
        ", teachInfo='" + teachInfo + '\'' +
        ", courseHint='" + courseHint + '\'' +
        ", coursePrice='" + coursePrice + '\'' +
        '}';
  }

  @PageFieldSelect(cssQuery=".course-times")
  private String courseTime;


  @PageFieldSelect(cssQuery=".teacher-info")
  private String teachInfo;


  @PageFieldSelect(cssQuery=".course-hint")
  private String courseHint;

  @PageFieldSelect(cssQuery=".course-price")
  private String coursePrice;

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getCourseTime() {
    return courseTime;
  }

  public void setCourseTime(String courseTime) {
    this.courseTime = courseTime;
  }

  public String getTeachInfo() {
    return teachInfo;
  }

  public void setTeachInfo(String teachInfo) {
    this.teachInfo = teachInfo;
  }

  public String getCourseHint() {
    return courseHint;
  }

  public void setCourseHint(String courseHint) {
    this.courseHint = courseHint;
  }

  public String getCoursePrice() {
    return coursePrice;
  }

  public void setCoursePrice(String coursePrice) {
    this.coursePrice = coursePrice;
  }
}
